import DefaultTheme from 'vitepress/theme'
import PackageLib from './../../../index'
import './rainbow.css'
import { ElementPlusContainer } from '@vitepress-demo-preview/component'
import '@vitepress-demo-preview/component/dist/style.css'

export default {
  ...DefaultTheme,
  enhanceApp: async ({app}) => {
    app.use(PackageLib)
    app.component('demo-preview', ElementPlusContainer)
  },
}
